
import Vue from 'vue';
import Vuex from 'vuex';
import persistedState from 'vuex-persistedstate'
Vue.use(Vuex);

import actions from './actions'
import mutations from './mutations'

export default new Vuex.Store({
  plugins: [
    persistedState({ storage: window.localStorage })
  ],
  modules: {
    mutations
  },
  actions
});
